<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<!--[if lt IE 9]>
<script type="text/javascript" src="/public/admin/js/html5.js"></script>
<script type="text/javascript" src="/public/admin/js/respond.min.js"></script>
<script type="text/javascript" src="/public/admin/js/PIE_IE678.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="/public/admin/css/H-ui.css"/>
<link type="text/css" rel="stylesheet" href="/public/admin/css/H-ui.admin.css"/>
<link type="text/css" rel="stylesheet" href="/public/admin/font/font-awesome.min.css"/>
<!--[if IE 7]>
<link href="/public/admin/font/font-awesome-ie7.min.css" rel="stylesheet" type="text/css" />
<![endif]-->
<title>用户上分</title>
</head>
<body>
<div class="pd-20">
  <div class="Huiform">
   
      <table class="table table-bg">
        <tbody>
          <tr>
            <th width="100" class="text-r"><span class="c-red">*</span> PK10封盘时间：</th>
            <td><input type="text" id='fp' style="width:200px" class="input-text"  id="user-name" name="user-name" datatype="*2-16" nullmsg="用户名不能为空" value='<?php echo $arr;?>' >
            
            
            <p style="color:red">ps:封盘时间相对 2:50分整 和7:50分整  例：10  = 2:50-10秒    即【2分40秒】封盘，【7分40秒】封盘</p>
            </td>
          </tr>
          
          
       
          <tr>
            <th></th>
            <td><button id='tiao' class="btn btn-success radius" type="submit"><i class="icon-ok"></i> 设置【即时生效】</button></td>
          </tr>
        </tbody>
      </table>
   
  </div>
</div>
<script type="text/javascript" src="/public/admin/js/jquery.min.js"></script>
<script type="text/javascript" src="/public/admin/js/H-ui.js"></script> 
<script type="text/javascript" src="/public/admin/js/H-ui.admin.js"></script> 
<script type="text/javascript" src="/public/admin/js/self.js"></script> 
<script type="text/javascript" src="/public/admin/layer/layer.min.js"></script>
<script type="text/javascript">
$(function(){
	$('#tiao').click(function(){
		var fp=$("#fp").val();
		if(fp<0 || fp>180){
			Malert('封盘时间不能大于3分钟 且封盘时间不能小于0');
			return;
		}
		$.ajax({
	         type: "POST",
	         url: "/?G=admin/upfp",
	         data:  {"t":fp},
	         success:function(data){
	            Malert(data);
	         }
	     });
	});
});
</script>

</body>
</html>